package com.dubbo.server;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;




@EnableDubbo   // 开启基于注解的dubbo功能（主要是包扫描@DubboComponentScan）
@MapperScan("com.tanhua.common.mapper")   //设置mapper接口的扫描包
@SpringBootApplication
public class DubboApplication {
    public static void main(String[] args) {
        SpringApplication.run(DubboApplication.class, args);
    }
}
